import request from "@/utils/request";


// 查询头部数据
export function getPanelData() {
  return request({
    url: '/statistic/index/panel',
    method: 'get'
  })
}

// 查询日数据
export function getDailySaleData() {
  return request({
    url: '/statistic/index/daily',
    method: 'get'
  })
}

// 查询月数据
export function getMonthSaleData() {
  return request({
    url: '/statistic/index/month',
    method: 'get'
  })
}

// 查询月数据
export function getMerchantSaleData() {
  return request({
    url: '/statistic/index/pie',
    method: 'get'
  })
}

